package com.goodboys.service;

import com.goodboys.base.entity.BaseReqBean;
import com.goodboys.base.service.BaseService;
import com.goodboys.entity.Info;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by CJ on 2018-05-19.
 */
public interface InfoService extends BaseService<Info>{

    Map infos(BaseReqBean baseReqBean) throws  Exception;

    Map publish(BaseReqBean baseReqBean) throws  Exception;

    //查询信息详情，包含用户信息，评论信息
    List<Info> findInfoDetail(BaseReqBean baseReqBean) throws  Exception;

}
